using System;
using Yuebon.Infrastructure.Services;
using Yuebon.Car.IRepositories;
using Yuebon.Car.IServices;
using Yuebon.Car.Models;
using Yuebon.Security.IServices;

namespace Yuebon.Car.Services
{
    public class AutoBrandService: BaseService<AutoBrand>, IAutoBrandService
    {
		private readonly IAutoBrandRepository _repository;
        private readonly ILogService _logService;
        public AutoBrandService(IAutoBrandRepository repository,ILogService logService) : base(repository)
        {
			_repository=repository;
			_logService=logService;
            _repository.OnOperationLog += _logService.OnOperationLog;
        }
    }
}